/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package impl;

import ejb.service.IConvertisseurService;
import javax.annotation.PostConstruct;
import javax.ejb.Remote;
import javax.ejb.Stateful;

/**
 *
 * @author Hippolyte
 */
@Stateful(mappedName = "ConvertisseurService")
@Remote(IConvertisseurService.class)
public class ConvertisseurServiceImpl implements IConvertisseurService {

    public ConvertisseurServiceImpl() {
        System.out.println("Initialisation");
    }

    @Override
    public double euroVersFrancs(double montant) {
        return montant * 6.55957;
    }

    @PostConstruct
    public void debut() {
        System.out.println("bean démarré");
    }

    
    
}
